package swind.web.service;

import java.util.List;

import swind.web.entities.ExamScore;
import swind.web.entities.ExamSubject;
import swind.web.entities.ExamUser;
import swind.web.vo.ScoreVo;
import swind.web.vo.SubjectVo;
import swind.web.vo.TestVo;

public interface IStudentService {

	List<ExamSubject> getSubjectByExamUser(ExamUser eu);

	List<ExamScore> getScoreByExamUser(ExamUser eu);

	List<SubjectVo> dealSubjectScoreByExamUser(ExamUser eu, List<ExamSubject> sublist, List<ExamScore> scolist);

	ScoreVo getScoreById(int id);

	ExamUser getExamUserById(String id);

	List<TestVo> getTestBySubject(Integer subId);

	int countTestScore(String[] idArr, String[] answerArr);

	boolean setNewScore(int totalSocre, int subId, String studentId);

	boolean hasScore(int subId, String userId);

	int getExamTime(int subId);

	

	
}
